/**
 * @author jun 2018/12/4
 */
var httpFile = {
    upload: function (url, formData, method, callBack) {
        $.ajax({
            url: url,
            type: method,
            data: formData,
            contentType: false,
            processData: false,
            success: function (data) {
                callBack(data);
            },
            error: function (data) {
                callBack(data);
            }
        });
    },
    download: function (url, formData, method, callBack) {

    }
}